package cn.gwm.flink.streaming.dwd.model;

/**
 * @Author: liangguang
 * @Date: 2022/5/25
 * @Description:
 */
public enum DwdErrorEnum {

    ERROR_VIN_LACK("1", "缺少tid 或 vin"),
    ERROR_SIGNAL_NUM("2", "信号量不正确"),
    ERROR_TID("3", "tid格式错误或超时"),
    ERROR_SOURCE("4", "source 错误"),
    ERROR_VIN("5", "vin错误"),
    ERROR_CAN_CHECK("6", "重点业务字段错误"),
    ERROR_REPEAT("7", "数据重复");


    private String code;
    private String desc;

    DwdErrorEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
